{ext->class_function class="payment" assign="is_shop"}
{if $is_shop == 1}
{ext->class_function class="payment" func="get_all_gateway" assign="gateway_list"}

{include file="admin/modules/payment/tabs.html"}

<div style="border:1px solid #C4CDD2; border-top:0 ">
<div style="border:6px solid #DBE1E5; background-color:#DBE1E5; width:100%">		

{if $smarty.get.tpl_payment_module=='invoise_list'}
<form name="child_list" action="index.php" enctype="multipart/form-data" method="post">
	<input name="admin" type="hidden" value="1">
	<input name="module" type="hidden" value="payment">
	<input name="act" type="hidden" value="status">
	<input name="status" type="hidden" value="">
	<input name="invoice" type="hidden" value="">
	<input name="referer" type="hidden" value="{ext->get_referer}">
{/if}

{include file="admin/modules/payment/menu.html"}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>

{if $smarty.get.tpl_payment_module=='gateway' || !$smarty.get.tpl_payment_module}
	{if $smarty.get.tpl_payment_gateway}
		<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
		<tr>
			<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
		</tr>
		<tr>
			<td height="12" valign="middle" style="padding:0px 0px 0px 15px; text-transform:uppercase; font-weight:bold;">{$smarty.get.tpl_payment_gateway}</td>		
		</tr>
		<tr>
			<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
		</tr>
		<tr>
			<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		</tr>
		</table>
		{capture name="include"}admin/modules/payment/{$smarty.get.tpl_payment_gateway}.html{/capture}
		{assign var="include" value=$smarty.capture.include}
		{include file=$include}
	{else}
	<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td height="50" bgcolor="#FFFFFF" align="center" style="padding:15px">
				{t t='Čia galite koreguoti naudojamos apmokėjimo sistemos duomenis.'}
			</td>		
		</tr>
	</table>
	{/if}
{elseif $smarty.get.tpl_payment_module=='invoise_list'}
	{include file="admin/modules/payment/invoise_list.html"}
{/if}

<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#25404E"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
	<tr>
		<td height="12"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>	
</table>
{include file="admin/modules/payment/menu.html"}
{if $smarty.get.tpl_payment_module=='invoise_list'}
</form>
{/if}
	</div>
	</div>
{/if}